www.gusucode.com > tpframe PHP开发框架 v2.2PHP源码程序 > tpframe PHP开发框架 v2.2/tpframe_v2.2.0618/tpframe_v2.2.0618/data/runtime/temp/6ad88cabc5d91e693b69c4386803d532.php

    <?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:34:"./theme/backend/nav_cat\index.html";i:1522733556;}*/ ?>
<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<!-- Set render engine for 360 browser -->
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- HTML5 shim for IE8 support of HTML5 elements -->
		<!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js">
			</script>
		<![endif]-->
		<link href="/theme/backend/assets/css/theme.min.css" rel="stylesheet">
		<link href="/theme/backend/assets/css/simplebootadmin.css" rel="stylesheet">
		<link href="/theme/backend/assets/css/default.css" rel="stylesheet" />
		<link href="/theme/backend/assets/css/font-awesome.min.css"
		rel="stylesheet" type="text/css">
		<style>
			.length_3{width: 180px;} form .input-order{margin-bottom: 0px;padding:3px;width:40px;}
			.table-actions{margin-top: 5px; margin-bottom: 5px;padding:0px;} .table-list{margin-bottom:
			0px;}
		</style>
		<!--[if IE 7]>
			<link rel="stylesheet" href="/theme/backend/assets/css/font-awesome-ie7.min.css">
		<![endif]-->
		<script type="text/javascript">
			//全局变量
			var GV = {
				WEB_ROOT:"",
				DIMAUB: "/",
				JS_ROOT: "/theme/backend/assets/js/",
				TOKEN: ""
			};
		</script>
		<!-- Le javascript==================================================-
		-> <!-- Placed at the end of the document so the pages load faster -->
		<script src="/theme/backend/assets/js/jquery.js"></script>
		<script src="/theme/backend/assets/js/wind.js"></script>
		<script src="/theme/backend/assets/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="/theme/backend/assets/js/treeTable/treeTable.css?v=">
	</head>
	<body>
		<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="<?php echo url('NavCat/index'); ?>">菜单分类</a></li>
			<li><a href="<?php echo url('NavCat/add'); ?>">添加分类</a></li>
		</ul>
		<form class="form-horizontal js-ajax-form" method="post" novalidate="novalidate">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th width="100">ID</th>
						<th>名称</th>
						<th>描述</th>
						<th width="120">主菜单</th>
						<th width="120">操作</th>
					</tr>
				</thead>
				<tbody>
				<?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
				<tr>
					<td><?php echo $vo['id']; ?></td>
					<td><?php echo $vo['name']; ?></td>
					<td><?php echo $vo['remark']; ?></td>
					<td><?php if($vo['active'] == 1): ?>是<?php else: ?>否<?php endif; ?></td>
					<td>
						<a href="<?php echo url('NavCat/edit',['id'=>$vo['id']]); ?>">编辑</a>|
						<a href="<?php echo url('NavCat/del',['id'=>$vo['id']]); ?>" class="js-ajax-delete">删除</a>
					</td>
				</tr>		
				<?php endforeach; endif; else: echo "" ;endif; ?>
				</tbody></table>
		</form>
	</div>
	<script src="/theme/backend/assets/js/common.js"></script>
	</body>

</html>